package com.zz.spring6.xmltx.controller;

import com.zz.spring6.xmltx.service.BookService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class BookController {

    @Autowired
    private BookService bookService;

    public void buyBook(Integer boosId,Integer userId){
        bookService.buyBook(boosId,userId);
    }



}
